package com.itheima.area.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 农田历史记录
 */
@Table(name = "t_cust_farmland_history")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CustFarmlandHistory {
    /**
     *
     */
    @Id
    private Long id;

    /**
     * 大田id
     */
    private Long fid;

    /**
     * 农作物id
     */
    private Long cid;

    /**
     * 记录开始种植时间
     */
    private String startTime;

    /**
     * 记录结束时间
     */
    private String endTime;

    /**
     * 农作物生长状态
     */
    private String cropStatus;

    /**
     * 设备数量
     */
    private Long dnumber;

    /**
     * 产量
     */
    private Long output;

    /**
     * 备注
     */
    private String remarks;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getFid() {
        return fid;
    }

    public void setFid(Long fid) {
        this.fid = fid;
    }

    public Long getCid() {
        return cid;
    }

    public void setCid(Long cid) {
        this.cid = cid;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getCropStatus() {
        return cropStatus;
    }

    public void setCropStatus(String cropStatus) {
        this.cropStatus = cropStatus;
    }

    public Long getDnumber() {
        return dnumber;
    }

    public void setDnumber(Long dnumber) {
        this.dnumber = dnumber;
    }

    public Long getOutput() {
        return output;
    }

    public void setOutput(Long output) {
        this.output = output;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}

